﻿namespace OasisCiq.Xpil
{
    using System.Collections.Specialized;
    using CommonTypes;
    using External;

    /// <summary>
    /// Information about the account
    /// </summary>
    public class AccountElement : CTString, IExtendedAttributes
    {
        public AccountElement(string value) 
            : base(value)
        {
        }

        /// <summary>
        /// If present, specifies the type of the information provided
        /// as text value of the element.
        /// </summary>
        public AccountElementList Type { get; set; }

        public NameValueCollection ExtendedAttributes { get; set; }
    }
}